/**
  ******************************************************************************
  * @file    Outputs.c
  * @author  Dajin Li
  * @version V0.0.1
  * @date    08-08-2015 
  * @brief   This file contains mosfet output  function
  *				 
  *          
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; KION(SZ) R&D Center
  *
  * Licensed under KION, (the "License");
  *
  ******************************************************************************
  */
/* Includes ------------------------------------------------------------------*/

#include "stm32f10x.h"
#include "global.h"
#include "outputs.h"
#include "var_tbl.h"
#include "icons.h"
#include "menu.h"
#include "display.h"
#include "resource.h"
#include "FaultIndication.h"
#include "analoginput.h"

/**
* @brief	This task updates the MOSFETs, Alarm and LED outputs.
* @param	status = 0 if off, =1 if on
* @note     none
* @retval   none
*/
void outputs_task(void const *argument)
{
    task_status[UPDT_OUTPUTS_ID] = ALIVE;
    // Tasks must run in an infinite loop:
    while (TRUE)
    {
        task_status[UPDT_OUTPUTS_ID] = ALIVE;
        osDelay(UPDT_OUTPUTS_ITV);
    }  // end while infinite loop
}  // end task_updt_outputs()


